package com.stps.factory;

import java.sql.Connection;

import com.stps.dao.TextBookDao;
import com.stps.dao.NeedBookDao;
import com.stps.dao.impl.NeedBookDaoImpl;
import com.stps.dao.impl.TextBookDaoImpl;

public class DAOFactory {
	
	public static TextBookDao getTextBookDAOInstance(Connection conn){
		return new TextBookDaoImpl(conn);
	}
	
	public static NeedBookDao getNeedBookDAOInstance(Connection conn){
		return new NeedBookDaoImpl(conn);
	}
	
}
